package com.jinzecloud.reportapproval.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jinzecloud.reportapproval.bean.ProductInfo;
import com.jinzecloud.reportapproval.dto.Param;
import com.jinzecloud.reportapproval.utils.PageUtils;
import com.jinzecloud.reportapproval.utils.R;
import com.jinzecloud.reportapproval.vo.*;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.text.ParseException;
import java.util.List;
import java.util.Map;

/**
 * 推广鉴定信息表
 *
 * @author æ­å°
 * @email 1971240051@qq.com
 * @date 2024-09-03 12:10:44
 */
public interface ProductInfoService extends IService<ProductInfo> {

    PageUtils queryPage(Param param);

    R saveProductInfo(ProductInfoVo productInfoVo);

    void updateByIdProductInfoVo(ProductInfoVo productInfoVo);

    void removeByIdsProductInfoVo(List<Integer> list);

    ProductInfoVos getByIdProductInfoVo(Integer id);

    PageUtils queryPageCheckList(Param param);

    R updateApprovalOpinion(ProductInfoUpdateCheckVo productInfoUpdateCheckVo);

    String fileDownload(String id) throws IOException, ParseException, IllegalAccessException;

    R fileUplod(String id, MultipartFile file) throws IOException;

    ProductInfoExportVoVo getByIdproductInfoExportVo(Integer id);

    String getProductFilePath(String id) throws IOException, ParseException, IllegalAccessException;

    String getProductFileWordPath(String id);
}

